package com.noreg;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.mover.util.BeanUtil;


/**
 * @author Jeson
 * @blog:http://www.ij2ee.com
 * @date:2011-4-16 上午10:39:37
 * @version :1.0
 *
 */
public class TimerStart {
	public static void main(String[] args) throws Exception {
		ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath:com/noreg/spring/timer.xml");
		BeanUtil.setApplicationContext(ctx);
		/*TaskList list = (TaskList) BeanUtil.getBean("taskListBean");

		if(list!=null){
			List<IParser> cps =  list.getTaskList();
			for(IParser cp :cps){
				cp.start();
			}
		}*/
		//gb.start();
	}
}
